# 复制整行： Ctrl + D
# 格式化：Ctrl + Alt + L
print("姓名\t年龄\t籍贯\t住址\t\njohn\t12\t\t河北\t北京")

name = '谈星宇'
age = 20
score = 100.0
gender = '男'
height = 175.5
weight = 75
# print(name)
# print(age)
# print(score)
# print(gender)


print("姓名： %s %d %.f %s" % (name, age, score, gender))  # 默认f为小数点后六位

# format函数
print("信息: {} {} {}".format(name, age, score, gender))

# f-strings函数
print(f"信息: {name} {age} {score} {gender}")

print(f"人物资料:{name} {age} {height} {weight}")
